#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

class A 
{
public:
	long a1;
	short a2;
	int a3;
	int* a4;
};

class B
{
public:
	void print()
	{
		printf("hello world");
	}
private:
	long a1;
	short a2;
	int a3;
	int* a4;
};

int main()
{
	A a;
	B b;
	printf("%d\n", sizeof(a));
	printf("%d\n", sizeof(b));
}

